package org.yn.emp.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.yn.dept.domain.Department;
import org.yn.dept.domain.Shop;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Slf4j
public class Employee {
    @ApiModelProperty(value = "员工id")
    private Long id;
    @ApiModelProperty(value = "员工账号")
    private String username;
    @ApiModelProperty(value = "员工密码")
    private String password;
    @ApiModelProperty(value = "员工邮箱")
    private String email;
    @ApiModelProperty(value = "员工头像路径")
    private String headImage;
    @ApiModelProperty(value = "员工年龄")
    private Integer age;
    @ApiModelProperty(value = "员工部门")
    private Department department;

    @ApiModelProperty(value = "盐值")
    private String salt;
    @ApiModelProperty(value = "性别")
    private Integer sex;


    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "登录信息")
    private Long logininfoId;
    @ApiModelProperty(value = "电话号码")
    private String phone;

    // 关联的店铺
    private Shop shop;


}
